package org.eenie.kdassistant.net.zzt_api;

import okhttp3.RequestBody;
import okhttp3.ResponseBody;
import retrofit2.http.Body;
import retrofit2.http.Header;
import retrofit2.http.Headers;
import retrofit2.http.POST;
import rx.Observable;

/**
 * Created by Eenie on 2017/8/14.
 * Email: eeniework@gmail.com
 * Des:
 */

public interface ZZTService {
    @Headers({"Content-Type:application/x-www-form-urlencoded; charset=utf-8"})
    @POST("appInterface")
    Observable<ResponseBody> ReqData(@Header("X-Token") String token,@Header("X-OpenId") String OpenId, @Body RequestBody paramRequestBody);

}
